﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using BusinessLayer.RegInfo.Entities;

namespace BackEnd.Models
{
    public class AccountModel
    {
        public int Id { get; set; }
        public string ListId { get; set; }
        public string MessageResult { get; set; }

        [Display(Name = "First Name")]
        public string FirstName { get; set; }

        [Display(Name = "Last Name")]
        public string LastName { get; set; }

        [Display(Name = "Email")]        
        public string Email { get; set; }

        [Display(Name = "PassWord")]
        public string PassWord { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Country")]
        public int CountryId { get; set; }
        public List<Country> ListCountry { get; set; }

        [Display(Name = "Join Date")]
        public DateTime CreateDate { get; set; }

        [Display(Name = "Logon Date")]
        public DateTime? StartDate { get; set; }

        [Display(Name = "Expiry Date")]
        public DateTime? EndDate { get; set; }

        [Display(Name = "Status")]
        public int Status { get; set; }

        [Display(Name = "Days Remaining")]
        public int? ExpiresDate { get; set; }

        [Display(Name = "Subscription")]
        public int? CurrentExpiresDate { get; set; }

        [Display(Name = "Send Email")]
        public bool ConfirmSendEmail { get; set; }
    }
}